var HelloWorld = React.createClass({
    getInitialState: function () {
        return {
            x: 0,
            y: 0
        }
    },
    handleMouseMove: function (e) {
        this.setState({
            x: e.clientX,
            y: e.clientY
        });
    },
    render: function () {
        return <div onMouseMove={this.handleMouseMove} style={{
        height:'1000px',
        width:'700px',
        backgroundColor:'gray'
        }}>{this.state.x+', '+this.state.y}
        </div>
    }
});
ReactDOM.render(<HelloWorld></HelloWorld>, document.getElementById("container"));
